Skip to content

feat: remove product config & clean up#830

Open
maltesander wants to merge 20 commits into
mainfrom
refactor/remove-product-config
Open

feat: remove product config & clean up#830
maltesander wants to merge 20 commits into
mainfrom
refactor/remove-product-config

Conversation

@maltesander
Copy link
Copy Markdown
Member

Description

  • remove product config
  • move to config map builder step

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

maltesander and others added 17 commits June 4, 2026 21:10
Add a [patch] override redirecting stackable-operator to the
smooth-operator branch of operator-rs (mirroring trino/hdfs operators),
in preparation for removing product-config. No source changes were
required; the framework API surface used by druid-operator is unchanged
between the 0.111.0 tag and the smooth-operator branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ults

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Removes the last direct uses of the product-config crate now that
validation and config-map rendering compute everything from first
principles. Deletes the dead `build_role_properties` method and the five
`impl Configuration` blocks, makes `common_compute_files` infallible, and
replaces the `Configuration`-based `.erase()` in `get_role` with a local
`erase_config` helper that erases the typed config to `()`.

Also drops the `ProductConfigManager` from the controller `Ctx`, ignores
the shared `--product-config` CLI arg, removes the product-config
config-spec files plus their Helm/Dockerfile wiring, and removes the
crate from Cargo.toml/Cargo.lock (it now only remains transitively via
stackable-operator).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…nces

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The operator no longer reads a product-config spec, but the config-spec
properties.yaml files must remain (empty) for chart/release tooling, matching
trino-operator and hdfs-operator. Revert the Helm/Dockerfile changes so the
config-spec wiring is unchanged from main; only the spec contents are emptied.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…constants

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant